<?php
require 'Controller.php ';
require 'UserModel.php';
class UserController extends Controller{
	function __Construct(){
		parent::__Construct();
		$this->mod = 'users';
	}
	function listusers(){
		/*$data = array(
			array('uname'=>'jason','gender'=>'男'),
			array('uname'=>'jack','gender'=>'男')
			);*/
		$model = new UserModel();
		$data = $model->getUserList();
		return $data;
	}

}
?>